namespace Medical.ReadApi.Dto
{
    /// <summary>
    /// 挂号单模板DTO
    /// </summary>
    public class RegistrationSlipTemplateDto
    {
        /// <summary>
        /// 模板ID
        /// </summary>
        public long TemplateId { get; set; }

        /// <summary>
        /// 模板名称
        /// </summary>
        public string TemplateName { get; set; } = string.Empty;

        /// <summary>
        /// 描述
        /// </summary>
        public string? Description { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsActive { get; set; }

        /// <summary>
        /// 是否默认模板
        /// </summary>
        public bool IsDefault { get; set; }

        /// <summary>
        /// 优先级规则（JSON字符串）
        /// </summary>
        public string? PriorityRules { get; set; }

        /// <summary>
        /// 配置的字段列表（JSON字符串）
        /// </summary>
        public string? ConfiguredFields { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedAt { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdatedAt { get; set; }
    }
}

